{
语法百题 解题报告：
 http://git.oschina.net/et0662/sznoi-grammar/ 
}
var
	a:array of boolean;
	n,i,j:integer;
begin
	readln(n);
	setlength(a,n+1);
	for i:=2 to n do
		a[i]:=true;
	for i:=2 to round(sqrt(n)) do
	begin
		if a[i] then
		begin
			j:=i*2;
			while(j<=n)do
			begin
				a[j]:=false;
				j:=j+i;
			end;
		end;
	end;
	for i:=2 to n do
	begin
		if a[i] and a[n-i] then
		begin
			writeln(n,'=',i,'+',n-i);
			break;
		end;
	end;
end.
